package com.ruoyi.publish.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

public class RecommendArticle extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long recommendArticleId;
    private Long sortOrder;
    private Long recommendId;
    private String delFlag;
    private String articleId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date publishTime;
    private String articleName;
    private String columnName;
    private String content;


    public Long getRecommendArticleId() {
        return recommendArticleId;
    }

    public void setRecommendArticleId(Long recommendArticleId) {
        this.recommendArticleId = recommendArticleId;
    }

    public Long getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(Long sortOrder) {
        this.sortOrder = sortOrder;
    }

    public Long getRecommendId() {
        return recommendId;
    }

    public void setRecommendId(Long recommendId) {
        this.recommendId = recommendId;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getArticleId() {
        return articleId;
    }

    public void setArticleId(String articleId) {
        this.articleId = articleId;
    }


    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public String getArticleName() {
        return articleName;
    }

    public void setArticleName(String articleName) {
        this.articleName = articleName;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "RecommendArticle{" +
                "recommendArticleId=" + recommendArticleId +
                ", sortOrder=" + sortOrder +
                ", recommendId=" + recommendId +
                ", delFlag='" + delFlag + '\'' +
                ", articleId='" + articleId + '\'' +
                ", publishTime=" + publishTime +
                ", articleName='" + articleName + '\'' +
                ", columnName='" + columnName + '\'' +
                ", content=" + content +
                '}';
    }
}
